package com.ciei.dpagm.common.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;

/**
 * 逻辑运算符枚举
 * @author pp
 * @date 2023/03/11
 */
public enum LogicalOperatorEnum {

    /**
     * 并且
     */
    AND("&&"),
    /**
     * 或者
     */
    OR("||");

    @EnumValue
    private String operator;

    LogicalOperatorEnum(String operator) {
        this.operator = operator;
    }

    public String getOperator() {
        return operator;
    }
}
